import React, { Component } from 'react'
import routes from './router/routerConfig'
import RouterView from './router/RouterView'
import {BrowserRouter as Router} from "react-router-dom"
//BrowserRouter是histroy路由
//HashRouter 是hash路由
export class App extends Component {
  render() {
    return (
      <Router>
          App
          <RouterView routes={routes}/>
      </Router>
    )
  }
}

export default App
